I have a solution which can be deployed for SharePoint 2007 and SharePoint 2010. There are common files like .css files and images. When I am deploying solution for SP2010 I use mapped folder (_Layouts). And this folder have to copy my files to the server. The point is that I don't want to copy the same files to this folder. And I add them as a link. But Visual Studio does not want to copy files to destination folder.
If I understand you correctly, you want to deploy linked files. This is not just a SharePoint limitation, but a Visual Studio limitation with web projects. I believe the same limitation exists for SharePoint projects. Please refer to the following link:
https://connect.microsoft.com/VisualStudio/feedback/details/665257/
I've resolved this issue. Just removed the links and added real files.
Related
I have a VS 2019 app that uses a report viewer control. The control was added to the ToolBox by adding the file "[ProjectName]\packages\Microsoft.ReportingServices.ReportViewerControl.Winforms.150.1484.0\lib\net40\Microsoft.ReportViewer.WinForms.dll. There are a bunch of other files in this \package folder.
Which of these folders and/or files need to be deployed with this app. I'm using InnoSetup to create the deployment package? Should I deploy all files for the references in this project?
Adding the report viewer control to VS 2019 involves installing the NuGet package "Microsoft.ReportingServices.ReportViewerControl.Winforms". This added a subfolder to the project folder entitled "packages". All .dll files included in that folder need to be installed on the users' PC's.
I did not find Add folder option in right pane of code explorer in tfs 2015. But there is Add Files option and I can add files to any folder in the code exploerr. Please refer to the screenshot below. Did anyone have same issue?
Download and install Folder Management extension to your TFS collection, you will be able to create folder from left panel:
According to the screenshot, you are using Git repo in TFS. It's not a issue, it's by designed.
You could not add folders in remote repo directly. The add files is more like upload file. If you want to add folders, suggest you directly push your local repo to remote repo.
Also take a look at this similar question: How do I add a whole folder to Visual Studio Team Services (was TFS Online)
I am using bPAC SDK provided by Brother for their label printer. I downloaded their SDK, took a bpac.dll file and put it inside my projects folder then referenced it. Everything works fine until I deploy my app to IIS server because, as it turns out, that bpac.dll is referencing another .dll in C:\Program Files\Common Files\Brother folder and IIS does not have required permissions to access that file. This is VERY strange, and strange is that the bpac.dll in my Visual Studio is marked as Interop, whatever it means. How to solve this? How impot all the .dlls to my project so it doesn't need to access files in system folders?
i have a problem deploying my website. While trying to publish my website vs it creates the folder but doesn't copy files. I never faced this issue before.I didn't change anything in vs
Any help solving this issue?
I'm making windows application in VB.NET and I added some files in my project in solution explorer and I set on every file I added
"Copy to Output Directory: Copy Always"
but it deploy every file except .bin files after publishing.
It work in debugging mode, but not when I publish it. any help please, how to deploy .bin files?
Thanks.
What is the Build Action property of those files set to? If it is Content then I believe that they should be included in the deployment automatically. If not, open the Publish page of the project properties and click the Application Files button. There you can control what files are included in the ClickOnce deployment.