Skip to content
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

Installation issue with "Run as a Stand-Alone Site" option #119

Open
WesterfieldM opened this issue Nov 19, 2024 · 3 comments
Open

Installation issue with "Run as a Stand-Alone Site" option #119

WesterfieldM opened this issue Nov 19, 2024 · 3 comments

Comments

@WesterfieldM
Copy link

Tool version
v4.2.1

Describe the bug
while running the following command I'm getting this error
dotnet publish -c Release --property:PublishDir=c:\sites\Ant
C:\Program Files\dotnet\sdk\8.0.404\NuGet.targets(465,5): error MSB3202: The project file "C:\sites\tests\AzureNamingTo
ol.UiTests\AzureNamingTool.UiTests.csproj" was not found. [C:\sites\AzureNamingTool\AzureNamingTool.sln]
C:\Program Files\dotnet\sdk\8.0.404\NuGet.targets(465,5): error MSB3202: The project file "C:\sites\tests\AzureNamingTo
ol.UnitTests\AzureNamingTool.UnitTests.csproj" was not found. [C:\sites\AzureNamingTool\AzureNamingTool.sln]

To Reproduce
Steps to reproduce the behavior:
download the v4.2.1 package
extract it to a folder c:\AzureNamingTool
Open command prompt and navigate to c:\AzureNamingTool
run the following command.
dotnet publish -c Release --property:PublishDir=c:\sites\Ant

Expected behavior
The application to be installed into the c:\sites\Ant directory.

Screenshots
If applicable, add screenshots to help explain your problem.

Installation Method
Stand-Alone Site

Additional context
Add any other context about the problem here.

@BryanSoltis
Copy link
Contributor

Hi @WesterfieldM,

v4.3.0 was just released which removes the /Tests folder. This was a planned feature, but never implemented. Upgrading to the latest source code should resolve this issue:

https://github.com/mspnp/AzureNamingTool/wiki/v4.3.0

  • Bryan

@WesterfieldM
Copy link
Author

WesterfieldM commented Nov 21, 2024 via email

@BryanSoltis BryanSoltis reopened this Nov 21, 2024
@BryanSoltis
Copy link
Contributor

I'm not sure of the exact issue you may be encountering. Are you attempting to host the site with IIS? This may provide some guidance on ensuring your environment is correct:

https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-8.0

After configuring your server, you would run the command you referenced.

dotnet publish -c Release --property:PublishDir=c:\sites\Ant

Just as a suggestion (if possible), running the site in a container may prove much easier, as everything will be installed on the container image.

https://github.com/mspnp/AzureNamingTool/wiki/Run-as-a-Docker-Image

If you can provide more details on your environment, experience, and errors, I'll try to see if I can help.

  • Bryan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants