Hello,
I have used Nice3Point template to setup a test project and all works perfectly fine locally.
I can compile, batch compile for multiple versions and create an installer without any issue.
But when I try to test it on GitHub, I get this error and not sure what I am doing wrong?
Could someone help me understand this issue please?
Compile
16:36:25 [INF] > "C:\Program Files\dotnet\dotnet.exe" build --configuration Installer --verbosity minimal /property:Version=2.0.0
Error: C:\Program Files\dotnet\sdk\8.0.400\NuGet.targets(465,5): error MSB3202: The project file "D:\a\Test_Project\Test_addin\Test_addin.csproj" was not found. [D:\a\Test_Project\Test_Project\Test_Project.sln]
16:36:26 [ERR] C:\Program Files\dotnet\sdk\8.0.400\NuGet.targets(465,5): error MSB3202: The project file "D:\a\Test_Project\Test_addin\Test_addin.csproj" was not found. [D:\a\Test_Project\Test_Project\Test_Project.sln]
16:36:27 [DBG]
16:36:27 [DBG] Build FAILED.
16:36:27 [DBG]
Error: C:\Program Files\dotnet\sdk\8.0.400\NuGet.targets(465,5): error MSB3202: The project file "D:\a\Test_Project\Test_addin\Test_addin.csproj" was not found. [D:\a\Test_Project\Test_Project\Test_Project.sln]
16:36:27 [ERR] C:\Program Files\dotnet\sdk\8.0.400\NuGet.targets(465,5): error MSB3202: The project file "D:\a\Test_Project\Test_addin\Test_addin.csproj" was not found. [D:\a\Test_Project\Test_Project\Test_Project.sln]
16:36:27 [DBG] 0 Warning(s)
16:36:27 [DBG] 1 Error(s)
16:36:27 [DBG]
16:36:27 [DBG] Time Elapsed 00:00:01.05
Error: Target "Compile" has thrown an exception
16:36:27 [ERR] Target Compile has thrown an exception
Thanks again for all your help and support
Solved! Go to Solution.
Solved by nice3point. Go to Solution.
Make sure that the Installer configuration is set to build only the Installer project, and no others.
One more question please;
when creating an installer, these three dll files are getting included
JetBrains.Annotations.dll
Nice3point.Revit.Extensions.dll
Nice3point.Revit.Toolkit.dll
How can I exclude these files please? Thanks
Can't find what you're looking for? Ask the community or share your knowledge.