My project is running fine, I have uploaded it to a web server and have no issues with it.
I'm just concerned about VS showing 50 warnings - I've attached an image showing the first page of them. I notice that a lot of the warnings are duplicated - the highlighted ones, for example, are all the same: TS6053 (JS) File '/umbraco_client/Application/NamespaceManager.js' not found.
How can I get rid of these warnings - I don't like simply ignoring them
You know that step in the blog post where is said to include hidden files into the solution? Don't do that :-)
These files have been made for inclusion with Umbraco, they should not be altered by anyone other than Umbraco and therefore they shouldn't be included in the solution.
You're using a website project, instead of a web application project. You need to set the properties of it so that it does not build the website project. It should not be built at all.
Thanks, that makes a lot of sense! I am not interested in modifying Umbraco itself, just building projects on it, so I have excluded all folders except CSS, Scripts and Views which are the only ones I am likely to want to modify files and my projects still run perfectly but without the error warnings :)
Thank you for your comments, both here and my website :)
Based on your feedback I have now removed step 13 and added the note from Sebastiaan.
As i added in my polite notice (below), this blog was put together in 2015 and at the time i was still very new to Umbraco and learning how to install the product myself (i'm still learning).
Over the years during install i have faced many hurdles but the people in the community have been really helpful which has eventually led to me getting up and running. The blog posts that i wrote was just an attempt to potentially help people who may have faced similar problems as me get up and running. In general, the feedback i have received via comments and email suggests that the blog has really helped new starters so that's good news :).
II cant stress enough for the people reading and following along that if something does not seem right or something can be improved then please get in touch and i will happily remove/update where necessary. The aim here is to be a helpful as possible.
Multiple Warnings in Visual Studio 2017
I have set up Umbraco in Visual Studio using the excellent tutorial by Paul Griffiths http://www.paulrgriffiths.co.uk/blog/installing-umbraco-7-part-1-setting-up-visual-studio/
My project is running fine, I have uploaded it to a web server and have no issues with it.
I'm just concerned about VS showing 50 warnings - I've attached an image showing the first page of them. I notice that a lot of the warnings are duplicated - the highlighted ones, for example, are all the same: TS6053 (JS) File '/umbraco_client/Application/NamespaceManager.js' not found.
How can I get rid of these warnings - I don't like simply ignoring them
These shouldn't be included in the solution.
You know that step in the blog post where is said to include hidden files into the solution? Don't do that :-)
These files have been made for inclusion with Umbraco, they should not be altered by anyone other than Umbraco and therefore they shouldn't be included in the solution.
Hi Sebastiaan,
I got exactly the same problem in my VS solution. I talked to the excellent Umbraco Cloud support and they recommended me to post here.
I can't find any way to exclude these folders from my project. I also tried hiding the physical folder (/umbraco_client) in Explorer to no avail.
Do you have any more specific tips to get rid of these warnings?
You can exclude it like this
I don't have that many options when I right click the folder.
I'm in VS 2017 and this is happening on a fresh install through UAAS.cmd where the code was pulled from my Cloud-project, which seems to working fine.
You're using a website project, instead of a web application project. You need to set the properties of it so that it does not build the website project. It should not be built at all.
Thanks, that makes a lot of sense! I am not interested in modifying Umbraco itself, just building projects on it, so I have excluded all folders except CSS, Scripts and Views which are the only ones I am likely to want to modify files and my projects still run perfectly but without the error warnings :)
Just to add that I have commented about this on the tutorial.
Hi Martin/Sebastiaan
Thank you for your comments, both here and my website :)
Based on your feedback I have now removed step 13 and added the note from Sebastiaan.
As i added in my polite notice (below), this blog was put together in 2015 and at the time i was still very new to Umbraco and learning how to install the product myself (i'm still learning).
Over the years during install i have faced many hurdles but the people in the community have been really helpful which has eventually led to me getting up and running. The blog posts that i wrote was just an attempt to potentially help people who may have faced similar problems as me get up and running. In general, the feedback i have received via comments and email suggests that the blog has really helped new starters so that's good news :).
II cant stress enough for the people reading and following along that if something does not seem right or something can be improved then please get in touch and i will happily remove/update where necessary. The aim here is to be a helpful as possible.
Good luck with your project Martin.
Thanks Paul
Not to worry Paul. You live, you learn 😊
Great job at writing it all up!
is working on a reply...