When to build or rebuild an SSIS project in visual studio? - visual-studio

is it necessary to build or rebuild an SSIS project in visual studio?
As far as i can tell, i can create a project, add packages and deploy them without doing a build or rebuild.

Building an SSIS project creates an artifact *.ispac file. The *.ispac file is used to deploy SSIS packages.
More documentation here https://learn.microsoft.com/en-us/sql/integration-services/packages/deploy-integration-services-ssis-projects-and-packages?view=sql-server-ver15

Related

.netstandard2.1, AndroidQ and TFS build

I have updated my Android app target from Android 9 to Android 10 (in accordance with Google Play requirements) recently, and now solution doesn't build on TFS with error:
C:\Program Files\dotnet\sdk\5.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(241,5): Error NETSDK1005: Assets file '...\obj\project.assets.json' doesn't have a target for 'netstandard2.1'. Ensure that restore has run and that you have included 'netstandard2.1' in the TargetFrameworks for your project.
There is the library in the solution that really targets to netstandard2.1, but:
I can build the solution on my desktop with Visual Studio Community 2019 16.4.6.
I can build the solution on TFS server remotely with Visual Studio Community 2019 16.5.1 and 16.8.2.
I cannot build the solution on TFS server via TFS interface. In the build pipeline there is an item Build Xamarin.Android Project which uses MSBuild from C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin location (I presume VS should use this MSBuild file too during manual build). The MSBuild file has version 16.8.2.56705.
With the target Android 9 there was no issues with solution building.
What could be a reason? Thank you in advance.
I followed this recommendation to update nuget.exe to the latest version and it helps. But I'm still wondering why simple target's updating without VS update broke a build.

Visual Studio Build error Project file does not exist

I have a build definition setup to deploy my Visual Studio project to Azure. This has been working for over a year now but suddenly I am getting this error. MSBUILD : error MSB1009: Project file does not exist.
I am selecting the solution file as the solution target for the Visual Studio build task. I have also tried selecting different visual studio versions but they all fail.
This appears to be happening across all the projects. I have web api and SQL projects. None of the build definitions are working anymore. All are throwing the project file does not exists error.

Excluding a visual studio project from compilation for TeamCity

I'm using TeamCity build server, but one of my projects is a WiX project, I don't need TeamCity to compile it. I tried to exclude the project from visual studio Configuration Manager, and the project is excluded from build in Visual Studio, but TeamCity keeps trying to build that project.
Anybody knows why is this happening?

Visual Studio 2010 Deployment Project supported by MSBuild

Do you know if there is anyway to deploy a VS2010 Deployment Project using msbuild? Is is supported? I know it was not for a long while but I couldn't find is something change.
If not, is WIX the only approach?
You can build a deploy project - i assume you mean a vdproj? But not directly with msbuild. You have to wrap an exec target around devenv.exe. So you'd have to have visual studio on your build machine.

MSBuild calling the Package Target of Web Project

Does anyone know the components that need to be installed in order to make the Package Target available via MSBuild.
It's possible to Package using MSBuild on a machine with Visual Studio installed, but not on a build server with only the .NET 4 SDK and Web Deploy 2.0 installed, which results in the following error:
msbuild "Package" does not exist in the project.
It partly comes down to the following missing files on the server:
c:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\*.*
This can of course be resolved by copying the contents of the MSBuild VisualStudio folder to the equivalent directory on the build server, but this is not a manageable solution for server configuration.
All the answers I've read involve having Visual Studio installed or copying the files. Surely it's possible to compile the Web Deploy package without installing Visual Studio?
I have a TeamCity CI server without VS installed building a Web Project configured to also create a deployment package on successful build. However, for the life of me I can't recall if I copied those files manually or if they were installed by some component.
The relevant components I have installed are the following, if you want to give it a shot:
.NET 4.0 SDK;
Microsoft Visual Studio 2010 Shell (Integrated) Redistributable Package;
Visual Studio 2010 SDK; (Not the VS 2010 SDK SP1)
Microsoft Visual Studio 2010 Visualization & Modeling SDK;
Web Deploy 2.0;
I installed the VS Shell in order to be able to install the VS 2010 SDK which in turn was required in order to install the Visualization & Modeling SDK so that I was able to run T4 transformations on the build server.
With this components and configuring the following MSBuild properties DeployOnBuild=true;DeployTarget=Package to create the deploy package I had no problems, but as I said earlier I may have copied the files manually after giving up all hope of finding a more cleaner solution and now my brain is blocking any memory of such ill action.

Resources