Closed cirolaferrara closed 7 years ago
So far, I cannot reproduce the issue (checked .NET Core 1.1.0, 1.1.4, 2.0.2). Anyone else?
WORKAROUND: edit the project file (.msbuildproj
) and remove the section at bottom
<!-- A temporary solution, import C# Visual Studio design time targets in order to be able to load the project in Visual Studio -->
<PropertyGroup>
<CSharpDesignTimeTargetsPath Condition="'$(CSharpDesignTimeTargetsPath)'==''">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets</CSharpDesignTimeTargetsPath>
</PropertyGroup>
<Import Project="$(CSharpDesignTimeTargetsPath)" Condition="'$(CSharpDesignTimeTargetsPath)' != '' and Exists('$(CSharpDesignTimeTargetsPath)')" />
The temporary XML section in msbuild project has been removed from all templates and samples.
Gives me:
error MSB4020: The value "" of the "Project" attribute in element <Import> is invalid.
I have: .NET Core SDK 1.1.4 (x64)