No video

MSBuild With Jenkins | Jenkins For C# / .NET Applications | Thetips4you

  Рет қаралды 58,538

Thetips4you

Thetips4you

4 жыл бұрын

#MSBuild, #Jenkins, #CICD Hello Friends, Welcome back to my channel.In this video we are going to see about another Jenkins tutorial, We have seen how to setup Maven Build for Java Projects using Jenkins in my previous tutorials.
In this lecture, I am going to show how to build a C#/.Net Project using MS Build and Jenkins.We will create a simple console out put project using Visual studio, Then will add a test project in to it.We will make use of this project for MS Build integration in Jenkins. So follow along.
--------------------------------------------------------------------------------------------
Github Project : github.com/shazforiot/msbuild...
--------------------------------------------------------------------------------------------
Reference Microsoft Documentation:
docs.microsoft.com/en-us/visu...
---------------------------------------------------------------------------------------------
Plugin : MSbuild
MSBuild.exe location: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin
-----------------------------------------------------------------------------------------------
Video Tutorial on Jenkins Build Triggers:
• Jenkins Gitlab | Jenki...
------------------------------------------------------------------------------------------------
===============================================
Follow me @:
/ thetips4you
/ thetipsforyou
/ @thetips4you
/ thetipsforyou
www.thetips4you.com
=======================================================
Music credit: "Royalty Free Music from Bensound"

Пікірлер: 82
@bhupendrakushwaha1239
@bhupendrakushwaha1239 2 жыл бұрын
Thank you so much for this useful video. Keep posting 👌
@Thetips4you
@Thetips4you 2 жыл бұрын
Thank you for your feedback.
@mmu99
@mmu99 3 жыл бұрын
Simple and easy to understand.. thank you for the video.. Regards from your new subscriber :)
@Thetips4you
@Thetips4you 3 жыл бұрын
Thank you for your support friend and for your comment.
@legooos
@legooos 2 жыл бұрын
Thank you very much
@Thetips4you
@Thetips4you 2 жыл бұрын
You are welcome
@tejeshwarreddy2087
@tejeshwarreddy2087 3 жыл бұрын
Hi !This is nice video and it is worked for me. Could you please make the video of the same project for creating docker containers and execution.
@Thetips4you
@Thetips4you 3 жыл бұрын
Thank you for your comment and suggestion. I will consider it for upcoming videos.
@rko_9084
@rko_9084 3 жыл бұрын
Hi Teja bro I was stuck on c# msbuild project can u please help/guide me ,share your mail or please reach me to my mail kalyanaws123@gmail.com
@nyendwa
@nyendwa 8 ай бұрын
Underrated content!
@Thetips4you
@Thetips4you 8 ай бұрын
It is because I was not good in video creation, audio, video quality etc.
@EmanuellParedes
@EmanuellParedes 3 жыл бұрын
Is a good video, but in a Jenkins production i don’t available el msbuild of visual studio, in this case what is a approach?, thank you
@qtmovieshome3628
@qtmovieshome3628 4 жыл бұрын
Nice video
@Thetips4you
@Thetips4you 4 жыл бұрын
Thanks for the feedback. Sure I will consider this for upcoming videos.
@jadenace2936
@jadenace2936 3 жыл бұрын
I know Im quite off topic but does anyone know of a good site to stream new series online ?
@dariuscollin6815
@dariuscollin6815 3 жыл бұрын
@Jaden Ace Try Flixzone. You can find it by googling :)
@kapilkaushal6178
@kapilkaushal6178 3 жыл бұрын
Great Explanation....However , i need to understand how can we deploy the application on IIS web server. Please explain.
@Thetips4you
@Thetips4you 3 жыл бұрын
Thank you for your query, will consider it for future video's
@anujadi8366
@anujadi8366 2 жыл бұрын
It's indeed a great tutorial on Jenkins build pipeline Can you please share us how to deploy this application that would be very helpful
@Thetips4you
@Thetips4you 2 жыл бұрын
Please follow the other tutorials on docker and kubernetes for more information
@anujadi8366
@anujadi8366 2 жыл бұрын
@@Thetips4you have you uploaded any resources on msdeploy to deploy the dot net application
@yanrice2
@yanrice2 Жыл бұрын
Hi. Does jenkins need to be on a microsoft server? Mine was on ubuntu but it didn't work.
@ravurivivek581
@ravurivivek581 Жыл бұрын
@@yanrice2 Jenkins is a tool but you need microsft windows for building a .net-based application.
@hoood7ood637
@hoood7ood637 4 жыл бұрын
hey great work . is jenkins work with TFS source control even we write selenium java code on eclipse ?
@Thetips4you
@Thetips4you 4 жыл бұрын
Thank you friend for your feedback. Yes You can integrate TFS with Jenkins, You will need to install and configure the TFS plugin in Jenkins.
@hoood7ood637
@hoood7ood637 4 жыл бұрын
Thanks your channel is very recommended from our community . There is video to how to integrate TFS with Jenkins?
@Thetips4you
@Thetips4you 4 жыл бұрын
Thanks again friend. This comment is really valuable for me. I don't have my video on integrating TFS with Jenkins. I will check if there are any other available and will share it with you.
@Thetips4you
@Thetips4you 4 жыл бұрын
Please check this video kzfaq.info/get/bejne/qKmKaKx00N3FooU.html. Also are you using TFS now or Azure DevOps?
@user-gu1sv3ct4f
@user-gu1sv3ct4f 2 жыл бұрын
Hello, Thanks!! But what should I do to build a project with many NugetPackages?
@Thetips4you
@Thetips4you 2 жыл бұрын
Can you describe your requirement clearly.
@thezzzaaafff
@thezzzaaafff 2 жыл бұрын
Hi thanks a lot for this tutorial. But can we Publish. Net web api using jenkins? I mean not a build folder but Publish folder contents I want to deploy and IIS restart.
@Thetips4you
@Thetips4you 2 жыл бұрын
Yes it should be possible.
@pavankumar-nr4mv
@pavankumar-nr4mv 2 жыл бұрын
As we deploy java applications in tomcat server. Is there different application server to deploy asp. Net applications or we do we deploy in real time. Which application server please reply.....
@Thetips4you
@Thetips4you 2 жыл бұрын
it should IIS webserver for asp.net applications.
@tonym5857
@tonym5857 3 ай бұрын
Thank you * 100000
@Thetips4you
@Thetips4you 3 ай бұрын
Thank you🙏
@pranavbhagwat9758
@pranavbhagwat9758 4 жыл бұрын
Can we also publish the build to server using this plugin ?
@Thetips4you
@Thetips4you 4 жыл бұрын
Yes, it is possible. You create additional job linked to this job results or use a Jenkins Pipeline structure. Define the stage to deploy the code to the servers or docker containers.
@webdeveloperify
@webdeveloperify 4 жыл бұрын
Hi, nice tutorial. How can I fix this error: Error NETSDK1064: Package Microsoft.CodeAnalysis.VersionCheckAnalyzer, version 2.9.6 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions. In the machine where Jenkins is installed I do not have visual studio installed (project is build on .net core 3.1). Thank you for the help.
@Thetips4you
@Thetips4you 4 жыл бұрын
Thank you for your comment. As per error I see it is due to Nuget package issue. You can try to install the package checkanalyzer and also try restore parameter. /t:Restore for ms build step.
@webdeveloperify
@webdeveloperify 4 жыл бұрын
@@Thetips4you Hi Many thanks for the quick reply. May be it is a dumb question but where do I need to run this command in Jerkin UI or in the server where Jerkin is installed. Also I see that the final "Bin/Debug" folder do not contain this dll. Thank you once again for the help.
@Thetips4you
@Thetips4you 4 жыл бұрын
You can use in Jenkins build step.
@panchhok4642
@panchhok4642 3 жыл бұрын
ust a suggestion it could have been better if music was removed
@Thetips4you
@Thetips4you 3 жыл бұрын
Thank you for your suggestion.
@pawansoni...2323
@pawansoni...2323 2 жыл бұрын
A kind request and suggestion - Don't use background music/noise. its really painful and headache. Rest your video is wonderful.
@Thetips4you
@Thetips4you 2 жыл бұрын
Thank you for your feedback. This is taken care in new video's.
@dildileepkumar7662
@dildileepkumar7662 Жыл бұрын
How can I remove xml files and pdb files form build folder ?
@yanrice2
@yanrice2 Жыл бұрын
Hi. Does jenkins need to be on a microsoft server? Mine was on ubuntu but it didn't work
@Thetips4you
@Thetips4you Жыл бұрын
Not necessarily. However you need to have Windows slave to run.net application. Running.net application on linux would not that be easy.
@quocvietnguyen9061
@quocvietnguyen9061 4 жыл бұрын
i have multiple project, how to use jekin publish theme to host ?
@Thetips4you
@Thetips4you 4 жыл бұрын
Hello Friend, I didn't understand your question clearly. Are you asking how to use Jenkins for deploy your project to any server?
@ravurivivek581
@ravurivivek581 Жыл бұрын
Hi, your video is great but please show me how to set up your Environmental Variables because I'm unable to build your project after getting it from GitHub.
@Thetips4you
@Thetips4you Жыл бұрын
Follow the steps as per the tutorial. What error are you getting?
@juanleon6813
@juanleon6813 3 жыл бұрын
Hi! nice video, I really like it!. however, I'm getting the following error: "MSBUILD : error MSB1009: Project file does not exist" Jenkins was able to download the repo from GitHub and the project is already in the local workspace, I already double-checked the .sln path and it is ok! I don't know what to do, could you please help me? thanks!!
@Thetips4you
@Thetips4you 3 жыл бұрын
Thank you for your comment. I think the error is because you have not mentioned the workspace location correctly. Please try to go manually inside Jenkins workspace and check the location of the project file.
@GirdhariSoni
@GirdhariSoni 3 жыл бұрын
@@Thetips4you Thanks for great tutorial. Getting following error MSBUILD : error MSB1009: Project file does not exist. As you have suggested that it will be path issue, But I had right click to sln file and copy as a path. The path is C:\Windows\System32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\ConsoleApp\ConsoleApp.sln
@anushkaseth7053
@anushkaseth7053 2 жыл бұрын
hey! How do we deploy a dacpac in SQL Server with freestyle project?
@Thetips4you
@Thetips4you 2 жыл бұрын
This is something new for me. I will check and get back.
@edisakhnovich7207
@edisakhnovich7207 2 жыл бұрын
How can I run sln straight from github and not from PC?
@Thetips4you
@Thetips4you 2 жыл бұрын
You can create a pipeline job and automate the process.
@sailleshbhiungadde63
@sailleshbhiungadde63 3 жыл бұрын
Please remove or lighten Music and add more description, This will help for new beginners.
@Thetips4you
@Thetips4you 3 жыл бұрын
Thanks for the feedback
@vasamdileep3095
@vasamdileep3095 3 жыл бұрын
Should i install Visual Studio to build application
@Thetips4you
@Thetips4you 3 жыл бұрын
For building using Jenkins you don't need to. If you want to develop your application and test manually you can install visual Studio
@vasamdileep3095
@vasamdileep3095 3 жыл бұрын
Im getting pgsql namespace missing
@jayasuriyap8748
@jayasuriyap8748 2 жыл бұрын
I want to start and stop the iis website in jenkins can you help me on this
@Thetips4you
@Thetips4you 2 жыл бұрын
What do you mean by start and stop iis website? Do you mean start and stop of iis service?
@jayasuriyap8748
@jayasuriyap8748 Жыл бұрын
Start and stop the iis websites
@Annishvarma
@Annishvarma 2 жыл бұрын
path to MSBUILD is failing. How set path in ubuntu machine? Getting error MSBUILD : error MSB1009: Project file does not exist.
@Thetips4you
@Thetips4you 2 жыл бұрын
Will not work in Ubuntu. Use windows for easygoing.
@Annishvarma
@Annishvarma 2 жыл бұрын
@@Thetips4you okay..Thank you
@ramanjaneyuluvadlamudi943
@ramanjaneyuluvadlamudi943 2 жыл бұрын
plz share MS documents links
@Thetips4you
@Thetips4you 2 жыл бұрын
Check the video description. The link is given there.
@harindrabalanagireddy9059
@harindrabalanagireddy9059 3 жыл бұрын
Suppose my Jenkins running on Linux machine how I can build .net project what are the necessary plugins and tools needed to configure with Jenkins and where to deploy after build....?
@Thetips4you
@Thetips4you 3 жыл бұрын
Use a slave machine which is running as Windows.
@harindrabalanagireddy9059
@harindrabalanagireddy9059 3 жыл бұрын
What about deployment java project we will deploy into tomcat like where we can deploy .net project
@Thetips4you
@Thetips4you 3 жыл бұрын
For deployment you can tomcat for war files and iis webserver for .net
@harindrabalanagireddy9059
@harindrabalanagireddy9059 3 жыл бұрын
@@Thetips4you superb thank you, I never expected reply from KZfaq channel....if it possible try to build any PHP project with maven using Jenkins I want to learn more...
@Thetips4you
@Thetips4you 3 жыл бұрын
Sure friend. I will consider for my future video's
@andrewgiftson8949
@andrewgiftson8949 2 жыл бұрын
Waste of video didn't show how to set path in local
@yostinpoveda2083
@yostinpoveda2083 Ай бұрын
did you mean in local app like c# windows form?
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 120 М.
"Highly Technical Talk" with Hanselman and Toub | BRK194
46:11
Microsoft Developer
Рет қаралды 37 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 17 МЛН
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 56 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 19 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 23 МЛН
Stop, Intel’s Already Dead!
13:47
Linus Tech Tips
Рет қаралды 281 М.
Jenkins CI Job for .NET API Project
16:23
LEAD with TECH
Рет қаралды 5 М.
How to Properly Setup C++ Projects
32:46
The Cherno
Рет қаралды 102 М.
Zero to Hero - Develop your first app with Local LLMs on Windows | BRK142
41:18
.NET in 300 seconds
5:48
Amichai Mantinband
Рет қаралды 64 М.
How to design a modern CI/CD Pipeline
9:59
DevOps Journey
Рет қаралды 112 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 17 МЛН