-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error: Add-Type : Cannot bind parameter 'Path' to the target. #107
Comments
Sorry to hear that, I am out of the office today and will be back after lunch tomorrow when I hope I will get time to look at this, unless @Hafeok you have time today? |
Have you guys sorted this out? I am getting the same error.
|
@JANeto87 unfortunately no. Could I ask what's your environment? Because I tried in another computer with similar config and could not reproduce. I am trying to find the difference between working and non working environment. |
@edouardr, I am using:
Please see the images below: Microsoft.Net Framework folder |
Hey, Can you try and run this form a powershell console? This is the way we are resolving the paths to the msbuild directories right now. And i think that if you only have VS 2017 installed it might not support that. |
Yeah, okay - so we need to enable a better way to find the msbuild path, that works with the new VS 2017 structure. If you want it to work right now, you can install the Microsoft Build Tools 2015 And ill add a new Issue so that we can it fixed. The issue is that with the new 2017 installer Microsoft changed the entire eco system of the msbuild installation paths. So we used to lookup the latest installs from the registry, which they changed now. Anyways the installation of the Microsoft Build Tools should fix it for you. |
Actually the ability to add visual studio specific modules is not being used, so we will review if this feature should be removed |
Discussion moved to #109 |
User story
In PS console, after having created an empty helix solution, I want to add a new project using
yo helix add:ProjectName
Expected behavior
Project being created with the correct template without errors in the PS console.
Actual behavior
Error is thrown right after executing the command.
*.csproj file is created with the App_Config folder, but that's it.
Steps to reproduce the behavior
Create an empty solution:
Add a new project:
The following error is thrown:
Environment
The text was updated successfully, but these errors were encountered: