ExcelDna icon indicating copy to clipboard operation
ExcelDna copied to clipboard

MasterBuild error NETSDK1047 ExcelDnaPack doesn't have a target for 'net452/win-x86'

Open Sergey-Vlasov opened this issue 4 months ago • 1 comments

With .NET SDK Version: 9.0.100-rc.1.24452.12 or 9.0.100-rc.2.24474.11 installed.

Running MasterBuild\MasterBuild.cmd gives:

(ResolvePackageAssets target) -> 
  C:\Program Files\dotnet\sdk\9.0.100-rc.2.24474.11\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file 'Source\ExcelDnaPack\obj\project.assets.json' doesn't have a target for 'net452/win-x86'. Ensure that restore has run and that you have included 'net452' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers. [Source\ExcelDnaPack\ExcelDnaPack.csproj::TargetFramework=net452]

Sergey-Vlasov avatar Oct 13 '24 11:10 Sergey-Vlasov