-
Notifications
You must be signed in to change notification settings - Fork 33
Draft: Support Net7 and Net8 #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
The problem is also when compiling. Dotdevelop uses mono msbuild fork (really outated) instead of real msbuild to compile net core projects. Because mono msbuild can compile some versions of net core and mono framework projects. Instead of dotnet msbuild which have removed support for compiling mono. See: And also to remove mono msbuild is not a solution, because than we cant built mono/classic .net framework related projects. So an option would be to support both build engines and build all net core projects every time with real msbuild and mono/classic net framework related things with mono msbuild. And the next thing is dotdevelop uses a build path for finding msbuild and new msbuild seems to do not have that path. You can simple run a terminal and dotnet msbuild, I think so. |
https://github.com/Aptivi-Archives/msbuild-offline-packaging There was an interesting project to update mono msbuild to version 17. But there is also an open PR from there, wich never got merged into offical msbuild. Not tested yet, but maybe it is useful? |
@MakiWolf Technically you can have your own MSBuild distribution (JetBrains proves the possibility and limitations, in https://blog.jetbrains.com/dotnet/2018/04/13/introducing-jetbrains-redistributable-msbuild/), but if you want to do that for this small initiative the ROI can be low. |
This is a draft to support net7 and net8 in dotdevelop.
Can create a project for console application now.
But following errors occur when debugging in dotdevelop:
Targeting .NET 6.0 or higher in Visual Studio 2022 17.3 is not supported. (NETSDK1182)
A namespace cannot directly contain members such as fields or methods (CS0116)
And also the known issue
https://github.com/dotdevelop/dotdevelop/blob/main/Building.md#running-dotdevelop-with-net60-installed