-
I am followed directions and videos best I can to setup a developer environment to work on the platform but no luck here. Setup the tools: I am having an issue building from powershell after following all procedures for setting up a developer build environment I am not sure what I am missing here. I believe I have configured the
I am using developer branch for building.
Here is what is being created from building inside visual studio, I am expecting the full website. But for this to work I am thinking something is missing creating msbuild errors when running build.ps1 from powershell. As mentioned in the instructions it is probably a configuration setting problem with the settings.local.json for the website location.
Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 10 replies
-
What version of Visual Studio do you have on the machine ? |
Beta Was this translation helpful? Give feedback.
-
https://docs.microsoft.com/en-us/visualstudio/msbuild/walkthrough-using-msbuild?view=vs-2022 DNN files have the following:
https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuild-toolset-toolsversion?view=vs-2022 I will install VS 2019 |
Beta Was this translation helpful? Give feedback.
-
Installing visual studio 2019 got me past those MSBuild Errors and into some new ones...
I will reload the project with a fresh copy of files see how it goes. |
Beta Was this translation helpful? Give feedback.
-
Your original output shows MSBuild 4.8, but it should be 14 or 15, so whatever default version of MSBuild you're using isn't new enough to compile everything. Try using the Developer PowerShell for VS 2022 shortcut from the Start Menu (or the Developer PowerShell shortcut from within Visual Studio) which should setup the correct version of all of the tools. The new "Premature close" error is probably from running Yarn, but the specific details of the error will be farther up in the output. You should be able to try running |
Beta Was this translation helpful? Give feedback.
-
I put the contents of the develop branch downloaded ZIP file into a folder On a brighter note I seen the |
Beta Was this translation helpful? Give feedback.
-
A couple of suggestions:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Special thanks to @valadas and @bdukes you both helped big time here. I am going to put together something to put in a discussion that maybe can be used to create a walkthrough that gets someone going fairly straight with limited experience from my experience with this. To answer my question:
|
Beta Was this translation helpful? Give feedback.
Special thanks to @valadas and @bdukes you both helped big time here.
I am going to put together something to put in a discussion that maybe can be used to create a walkthrough that gets someone going fairly straight with limited experience from my experience with this.
To answer my question:
"DnnConnectionString": "Server=(local);Database=dnnDB;uid=dnnDBUser;pwd=DnnDBPassword;"
I was using the full line from web.config file which was incorrect.