-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
The SDK 'Microsoft.NET.Sdk' specified could not be found. #24
Comments
Check this out for 2.x: https://github.com/3F/MvsSln/wiki/Advanced-Features#custom-msbuild-resolver |
After trying to above solution its throws me an error when calling builder resolver telling me that the sdk have been already loaded. I added my own implementation for my needs. Thanks anyway. |
I am a bit confused with your applied solution if we're talking about project files. Either you don't need msbuild resolver at all, or manipulations with xml-nodes + compatible evaluator engine are just a separate conversation which is more likely related to the planned v3.0 and so on. |
Don't worry I just needed to add some items to a static project file. |
I see. XDocument-like solution could be really a good option for your
case. The other cases with correct evaluated nodes should be processed
through Sdk-resolvers (abstract layer in build.framework part). But
means only modern project files and not .sln features where you can
easily add something through related `ProjectItem` etc.
My hope for v3 that probably will fix the mentioned situation. Time will
tell, follow the news.
…On 22.03.2020 2:01, Anthony G. Rivera Cosme wrote:
Don't worry I just needed to add some items to a static project file.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#24 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYYT7LIGDTNT4QHA24GTE3RIVBK7ANCNFSM4LO6N5VQ>.
|
I am trying to add a project reference to a solution and this error message gets throw.
This is the code that throws the error.
sln.Result.Env.AddOrGet(new Project(XmlReader.Create(new StreamReader($@".\Solutions\{Namespace}\{Namespace}.Server\{Namespace}.Server.csproj"))));
I have net core sdk installed but couldn't figure out why this error occurs.
The text was updated successfully, but these errors were encountered: