I'm having issues with getting my project to build in Radzen studio. I keep getting this namespace not found error. The project builds fine on my Rider IDE so I would expect there's some issue on the Radzen studio side.
I am using .net9.0.1 version
I'm having issues with getting my project to build in Radzen studio. I keep getting this namespace not found error. The project builds fine on my Rider IDE so I would expect there's some issue on the Radzen studio side.
I am using .net9.0.1 version
Radzen Blazor Studio is using dotnet CLI to build the project, what happens when you execute dotnet run in your application folder?
Sorry for the long wait, when I do dotnet run in my solution startup project I get a few warnings regarding packages and then the application runs as normal
Additionally, this is the output I get on a blank application I made using the RadzenStudio which also fails to build.
There are probably other errors before the ones you have pasted. Sounds as the problem described here: Troubleshooting | Radzen Blazor Studio
For the screenshot I posted there are no other errors posted in the terminal. And neither for the other project that send similar errors. I will try the link you provided and see if that helps.
For the application made through RiderIDE that I am trying to open with RadzenStudio this is the output log I get when it tries to build:
These are all the errors
This error means that RBS cannot build your existing application for some reason. If a new app created with RBS fails too then there are bigger issues that need to be solved first.
What happens when you create a new app from RBS? Can you paste the complete output contents in that case?
Sure, I made a whole new app with nothing than the bare minimum. After the build step fails, I get this output error.
/home/iustinian/RiderProjects/Test2/Program.cs(28,24): error CS0246: The type or namespace name 'App' could not be found (are you missing a using directive or an assembly reference?)
This is the only output line I get.
On my system I have .net8 and .net9 installed via the package manager and both are detected by the system:
This is indeed a problem.
Can you show us the output of running dotnet --info
? Also is there anything in the log file (should also be accessible via the Help menu item)?
Here is the log file also. Perhaps the first logs are not so relevant as the ones from the past 2-3 days
log.zip (3.0 KB)
Hi @iustin94,
Thanks! The dotnet --info
log is perfectly fine. And the log file doesn't contain anything that would reveal the cause of the problem. Frankly I am at a loss and don't know why the build fails with this error. It looks as if .razor files aren't compiled at all (the App class comes from App.razor). Unfortunately I don't know what else to suggest.
That is really unfortunate if it enfs up unusable ... I was hoping to use RDS for development long term.
Could it have something to do with the location from where I am running the .appimage? When I tried moving it away from the Downloads folder I got some error regarding something called "sandbox" mode.
The way I run the appimage is by marking it as executable and simply running it, and it's the appimage file downloaded from your website. Alternativelly I could try some of the older versions and see if any of them works
I doubt that this is a permission error.
You can try with an older version - 1.35 is the one which introduces .NET 9 support.
And on top of that, if I try running the standard RDS app generated, I can run it regardless if the build output says it has an error
This is not a complain. It is a warning message not to install this version unless you have .NET 9 installed.
Hi @korchev , did you get to see the last screen shot I posted and did it perhaps give an idea on what is happening? The trial license I have is about to expire in a 3-4 days and I would like to get RDS working before that
I saw the screenshot but I have no further ideas unfortunately. It looks as if the App.razor file does not build at all but I have no clue why this might happen.