Application update framework for .net? [closed] - c#

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.

Related

How to create a free tfs server easily [closed]

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.

My computer lost power while working on a project, how can I recover my data? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I was working on a c# project on my computer when I accidentally removed the power cord.
When I started my computer back up I tried to load my project, but I got a error:
There is no editor available for 'c\user\documents\visualstudio 2013\projects\project_name\from1.cs
make sure the application for the file type(.cs) is installed
On the same project I have different forms and those still work, only from1 is not working. The data set only contains 0's.
What can I do to fix this?
Either something got corrupted in your Visual Studio installation, or (more likely) the file you were working on before your computer was shut down (which I assume was from1.cs).
Are you able to open from1.cs and from1.Designer.cs in something like Notepad? You may want to look for NULL terminators in your file as suggested by this answer on this (possibly duplicate) question.
If that doesn't work, either try copying the existing code from from1.cs and from1.Designer.cs into new files in your project, or repairing/reinstalling Visual Studio. Just make sure to make a backup of your project first, just in case! ;)

How to unpublish a complete website? [closed]

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
My client give me his FTP I'm download source code.
Its published.
How can i do changes in code.
My client have not the Unpublished code.
What can i do?
Well, you need to check a few things
1- Check the code and see whether you can find .cs files with you .aspx files. If you can find them then it means that the website was deployed in Debug mode and you can atleast have the code of all the asp.net forms.
And if you cannot find the .cs files then it was deployed in Release mode and you are screwed.
2- Check the debug/release folder of the code and see whether you can find some custom DLL's. (By custom, i mean DLL's that are not from Microsoft and any third party). If you can find some custom DLL's then you cannot do anything because you donot have the code for the DLL's. (So, you do not have the Dll project).
You can still retrieve the code of DLL's by using some tools but that is not recommended.
EDIT:
You cannot get the exact code, but you can get a decompiled version of it.
The most popular (and best) tool is Reflector, but there are also other .Net decompilers (such as Dis#). You can also decompile the IL using ILDASM, which comes bundled with the .Net Framework SDK Tools.

Add new winforms into a big application after shipping to the customer [closed]

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 9 years ago.
Improve this question
Lets assume that we have developed and shipped an application to many customers. We would like to add new screens to that application without removing and re-installing from customers computers the entire application. We just want to send a DLL or an EXE file to the customer, then they will put that file and place it to application folder. Then application will find and recognize that DLL or EXE and let user use that WinForm?
How can I do that? Would you please give me an idea?
professional and complete solution is MEF if you want something simple, you could use something like Assembly.LoadFrom(filePath) and iterate types in it. check for if the type is derived from System.Windows.Forms.Form (you should use typeof(Form).IsAssignableFrom(loadedType))
This problem is why web-applications are so popular. A single install for everyone. Change without re-installing in multiple locations.
This problem is why SAAS exists. The true solution to this problem is get off the winform-gui model.
Think bigger!

Deskband in Windows 7 x64 C#? [closed]

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 4 years ago.
Improve this question
I want to create a deskband app, like BatteryBar, in C#. I understand that the deskband might not work in future versions of windows, that you shouldn't code explorer extensions in managed code, and whatnot. My question is, what is the current reccomended way to create a deskband (or a simulation of one) in C#? Thanks in advance!
This may not answer your question, but it is important information related to your question:
You said,
I understand ... that you shouldn't
code explorer extensions in managed
code
This is no longer true.
This used to be true because the multiple versions of the CLR could not be loaded into a single process. For example, Explorer could not load an extension that used both .NET 2 and .NET 1; the host process would fail to load the second CLR version.
But with .NET 4, which comes with a new CLR, you can now run multiple versions of the CLR in the same process. So if you write your code using .NET 4, you're no longer at risk of making host processes error out.
In short, it is now OK to write Explorer extensions in managed code, provided you're using .NET 4 or greater.

Categories