GitHub Complie error

GitHub Complie error

lee6800
Contributor Contributor
614 Views
4 Replies
Message 1 of 5

GitHub Complie error

lee6800
Contributor
Contributor

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 

0 Likes
Accepted solutions (1)
615 Views
4 Replies
Replies (4)
Message 2 of 5

nice3point
Advocate
Advocate
Accepted solution

Make sure that the Installer configuration is set to build only the Installer project, and no others.

nice3point_1-1725277125417.png

 

 

Message 3 of 5

lee6800
Contributor
Contributor

Thank you very much for your help

0 Likes
Message 4 of 5

lee6800
Contributor
Contributor

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

0 Likes
Message 5 of 5

nice3point
Advocate
Advocate
without them your plugin will not be able to work, they should be kept in the installer
0 Likes