I have approx. 105+ web files (.aspx, .css, .html, etc...) files in a folder. I've created a 2010 web project, but for some reason, not all the files show up. It stops at the letter p, every file after that (q* - z*) is not showing in the project. I created a new project, but still they are not showing up.
Could there be a bug in VS 2010 that doesn't show files after some point?
Related
I have a VS 2022 MVC solution that contains three projects: two main projects and a support project. When I attempt to publish one of the projects, most of the files publish but only the first file under the area folder will publish. The files are marked as Content but the files never make it on the webserver. Anyone have an idea what I could possibly have set incorrectly?
I verified that the files are set to content but they don't copy.
I just created a new project in Visual Studio 2019 and copied a bunch of files into the source/repos/project directory but they don't compile. I am guessing that is because these files were not created using Visual Studio.
Is there an easy way to make sure that the Project compiles all files in the directory even if they were created elsewhere? Right now all the files that I pasted in are treated like hidden files and the build option is a greyed out "None" instead of "Compile."
The files in question are all folders, PHP files, CSS, Javascript, etc.
See screenshot
enter image description here
I am attempting to exclude umbraco, umbraco_client, and media folders from publishing via visual studio. I have followed the steps in the previous question: excluding folders from Visual Studio 2015 publication and it doesn't work for me.
I copied the code in the linked question but still the umbraco folders were published. .wpp.targets File is in the same folder as the .csproj file with the same name as the csproj file
Copied the code in the previous link... saved the file. Closed visual studio and re-opened it. Even went one further and restarted my system.
Opened VS and tried to publish... both umbraco and umbraco_client were still published.
Notes: both folders are not included in the SLN/CSPROJ.
I got some files necessary for the hosting environment, e.g: robots.txt as in the attached image.
But I don't want to store them in Visual Studio solution, because they are not a part of my project, it will be confusing to have these under the solution folder or source control.
So, I am thinking is there anyway to let Visual Studio automatically copy these files from my custom location (e.g: D:\HostingPrepareForST\ ) to the output folder when I hit "Publish" to publish the website?
My development machine was recently upgraded from XP/VS 2008 to Windows 7/VS 2010. I have a Web Site project that I need to continue to run as a Web Site (as opposed to Web Application Project) in 2010. Ideally I'd like the solution files to be in the web root of my system (C:\Webs), but if they're in My Documents, that's fine.
The important part is that I have a folder (called Data, off C:\Webs) that contains roughly 20 GB of .rft and .pdf files, etc., which needs to be on the web root, so the application can access those files, but NOT be part of the build process.
I tried setting up a new blank web site, with the solution in My Documents, but the problem is that when I dragged and dropped the folders from my webs directory (where I need to be running from) into the Solution Explorer window, the actual files were duplicated and copied into the My Documents folder, rather than a "pointer" to the files.
Can someone please tell me how to set up a new Web Site-style project in VS 2010 and include the files from my Webs folder, while allowing me to exclude my Data folder from the overall project, but have the files in it be accessible by the code?
Thanks!
Mike