Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to do a visual studio team project with a friend of mine. I looked at the Team Explorer tab in visual studio but I don't understand some of the words / terminologies there. For example, what is Source Control Explorer, Build Definitions etc.? I've already created a team project but how can I work on it? Where do I write code? I'm assuming that after I finish the code, the code is uploaded to something like xxxx.visualstudio.com and others can access my code files there. Am I correct? (I guess not)
On the other hand, How can I add people to my team? Visual Studio Online tells me to enter the username or the sign in address of the user. Is "sign in address" the Microsoft account of the user?
This applies to TFS, if you use Git it will be different:
Source Control Explorer is, well, how you look at source control. The primary thing you will do there is checkout projects.
Build Definitions is were you configure build server builds.
Pending Changes is where you check-in files you have changed locally
To work on your project, you have to create a workspace (using Source Control Explorer) that maps the repository to your local system. Then create your solution there, and to make things easy check "Add to source control". Otherwise, you need to manually mark it for addition (again, using Source Control Explorer).
Check-in using the pending changes tab. If you don't have your own TFS server (sounds like you don't) then the code will be uploaded to an online server. I'm not aware of any web interface, but there could be one.
You will add other users based on their Microsoft account in the online scenario, and via TFS or Active Directory users if you are on a local TFS server.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
So, I want to share my DLL pack code and be able to collaborate in real time with a friend :) but I don't know how to upload my .sln file to the free tfs server. can can anyone help? Did some research, and couldn't find how :(
I am a bit unsure about if you already have a TFS server or not. So I included a link right below here where to get one if you don't.
Go to https://www.visualstudio.com/team-services/ if you wanna use free TFS.
This is a very easy way to do this, as I assume you never done this before. But if you done some research you should know the Team Explorer in Visual studio
Create a project in your TFS and Go into your Visual Studio and connect
to your TFS
"Map and Get" to a location on your computer. It will
created a folder where you can decide what you want to add to your
TFS Project(It should ask you when you connected, but if not you can
find it Source Control Explorer)
Add your solution into that folder
If you go into Pending changes you should now have some "Detected
add(s)" in the bottom at exclude changes. You wanna click on that
and include all the files you want to share.
Now your friend can do the first 2 steps and also have the same solution and stuff as you.
If you decide to use Git by any chance, is kinda the same process, just different names.
If you need more details on this, feel free to throw a comment. However if you done some basic research into this and already been playing around. There should be no issues at all. There are hundred of videos on youtube about TFS, How to set it up and much more.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am new to ClickOnce deployment and unfortunately got stuck quite early. Upfront, I am not a programmer in the first place..
The task would be to run an application written in Visual/C# from a website. In the end, my problem is how to get my compiled project linked to a website so someone can execute it from there. Where must which files be located/ whats the important code.
See, I dont have much knowledge in web-development..
What would be the most simple set-up to understand the concept?
I would also highly appreaciate any recommendations for tutorials, etc.
Regards,
mulm
You can't actually "run a C# program from a website" but you can download it to a users machine and execute it from there. Either Clickonce or XBAP (depending on the architecture of the client application you are attempting to run) is the way to do this. Clearly they will only run on Windows client PCs though.
Visual Studio does have a lot of tools that make publishing ClickOnce applications vrey straightforward, so I'd follow the microsoft tutorials on publishing them (there is literally a button in Visual Studio that says "publish" for deploying ClickOnce applications to a web location).
If you look inside the published .Html you can see its just a URL to a .application file. Open the .application file and its just an XML file listing the application components to install, strong names, and dependencies. The .application extension is recognised by Windows IE which interrogates it and downloads and installs the nominated files. It installs the files into a user-local and app version specific location (the user cannot choose where to install it) and adds a link to the desktop. When the user launches it, a wrapper application checks the original URL location for an updated .application and installs the new copy if there is one, otherwise it launches the existing one.
One thing that often causes problems for ClickOnce users is that there is no built-in way to determine which site your ClickOnce application was launched or installed from - and typically the application author wants to interact with a data source available on that site. You will need to modify the .application file by hand to add in that kind of data, and re-sign it (it has a checksum built in) before making it available. This process is covered here https://msdn.microsoft.com/en-us/library/dd465299.aspx which also has a lot of background on the process.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Actually my question is almost similar to this question.
But I have more demands to satisfy.
Actually my web project is developed with ASP.net and C#.And I build it using a tool call "Nant" because I want to install this web project to DotNetNuke(DNN).
So I can create build file using "Nant" tool and then I want to make intallation wizard to host this web project in another computer.
So following demands should be satisfied
I need to install required databases in client computer.
I need to update the connection string in web.config file based the database.
I need to create ODBC connection and save their names in my project config file.
I need to create an application in application pool of IIS.
I need to host my project in IIS.
So question in the link I provided is suggested to use professional edition of advance installer to do this.Actually I have no idea about Advance installer can satisfy all of my demands.
But I want some other solution to do this? Can't I create my own installation wizard by coding? Aren't there any visual studio libraries which can help me?
Please help me.
Thanking you
You can use install shield to do the basic operation. lets go through your steps one by one.
List item installshield has the db folder path and files to move, you can use installshield directory variables to get the path e.g [TARGETDIR]
There is a work around for this, don't put that connection string in webconfig, make a simple text file and put it inside, this may require a little bid code change as well,where you are accessing it. if you dont want to do so read the details after steps.
same as 2,
supported by installed shield
supported by installed shield
Ok Now, for step 2 and step 3, you can also use the webconfig and project file but for this you need to make a console application and parse the files to replace connectionstring etc. Put it under your project and set the target path via installshield of target machine.
this will act like a batch file and you can run it by adding custom actions to your project.
To see how to run any console app or batch follow this
How to run a ".bat" file during installation?
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have MVC4 web application and I need to make an exe installer to deploy the application and the DB on the customer's server
also application should be available online
Update: I have completed web application now i have to start for setup project
Publishing online will depend on the host - what they support but a good place to start would be to see if you can use the publishing wizard - right click on the web project and select publish. This requires some configuration but will work for Azure for example.
The msi/exe creation is altogether a more complex problem there are a number of options including installshield - I believe there is an installshield (light) setup project in visual studio. If you need something more advanced then there is the option of the paid for installshield but there is also the wix toolset http://wixtoolset.org which enables you to build msbuild installation packages. The learning curve is steep and the last time I used wix you weren't able to build a web installer out of the box - there were configuration options and additional tasks require before it would do this. That said it is possible to use Wix to build a very slick and quite powerful installer.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have googled over the internet and read some forums, but I could not find a really good solution to suit my requirements. I am looking for an automatic application update framework for my project.
Which do you think the best application update framework for .net?
Requirements:
free
easy to use and integrate with existing .net project
check/download/install updates automatically from a server
if it is needed, update also its referenced new dll-s from the server
if new dll is referenced to the app, should be also downloadad automatically from the server
if new items (e.g. XML files, language resource files) needed for a new version, also download them
UPDATE:
installation folder must be changeable by the user (clickonce is not an option)
check this http://www.codeproject.com/KB/install/DDayUpdate_Part1.aspx out - it combines ClickOnce (Update machnism) + Windows installer (installation) to make possible what you are asking for...
Another (perhaps better?) option: http://www.codeproject.com/KB/cs/DotNetAutoUpdateClient.aspx
Check out ClickOnce Deployment at http://msdn.microsoft.com/en-us/library/t71a733d(v=vs.80).aspx
It works really great. To use it, just open up the project properties in VS and go to the deploy tab.