All Questions
Tagged with version-control c#
242
questions
0
votes
0
answers
23
views
Visual Studio solution associated with multiple git repositories, but needs to be only one
On the bottom right hand side in Visual Studio it says my solution, which contains one project, is associated with two git repositories:
One is the correct one, and one is a repository for a ...
0
votes
1
answer
59
views
Auto version in Advanced Installer using AssemblyVersion from .Net application
I'd like to synchronize version in Advanced Installer when create setup installer file using AssemblyVersion from .NET application which is set to 1.0.*.
I have choosen myApp.exe in version field of ...
0
votes
0
answers
52
views
How to version iterations of a pdf file and read this value using C#
I would like to know which version (iteration) of a Manual.pdf is currently being used. I was hoping to use the file version as reading this is fairly simple in C#. However, it seems like there is no ...
0
votes
1
answer
127
views
How to force visual studio to automatically increase the build number?
I modified the AssemblyInfo.cs file
At the end of the file
[assembly: AssemblyVersion("0.6.*")]
//[assembly: AssemblyVersion("1.0.0.0")]
//[assembly: AssemblyFileVersion("1.0....
0
votes
2
answers
53
views
Version controlling software between products
I ran into an argument with a colleague about how we should do version control of our software, and I would like some input on what's the best way to do things.
We are making software for larger ...
-2
votes
1
answer
42
views
.Net PowerShell Invoke tf(TFS) History
I want to use PowerShell to Automation Invoke 【cd D:/XXXX】&【tf history *】 to change working folder
then get my target TFS change History.
But I have Problem to Invoke tf.
.Net use PowerShell ...
0
votes
0
answers
21
views
Website solution requires file not in version control
At my new job there is a C# website which relies on a secrets.xml file which is not in the version control repository. It contains links to databases and passwords. You need to copy it into the root ...
0
votes
0
answers
114
views
What is the purpose of ".skrold" files in my source directories?
I am working on a xamarin project. Whose repository is in the TFS. Recently I noticed that all the cs and xaml files have a skrold file. I checked the content of the skrold files.
They seem to be ...
1
vote
0
answers
276
views
Merge from development environment to production without overwriting production specific code
I have a windows forms application that has 2 branches, master which is hooked up to our production environment and dev which is hooked up to our development environment. There are a few visual ...
4
votes
2
answers
4k
views
using System.Deployment doesn't exist?
I've tried looking for System.Deployment to use this code in my Blazor Server application:
But System.Deployment is not in my project system, nor in the available Project References, I looked on ...
0
votes
1
answer
37
views
Visual Studio erroneously including files from an external project in team explorer pending changes
Ok... so I cannot find an answer to this anywhere, but I can't possibly be the first one to be experiencing this. So I created a new solution with a new project (C# MVC) and when I added source ...
0
votes
2
answers
128
views
Version control for medications
I need some help with an algorithm.
I'm tracking medications taken by a patient. I'll end up with entries like these:
1/1/22 DrugA 5mg Started DrugA
1/1/22 DrugB 5mg Started DrugB
1/3/22 DrugA 10mg ...
0
votes
0
answers
349
views
How to control DLLs files inside project?
We re working with GIT. We have a problem with control with the versions of DLL files. Sometimes one person work on dll version 12.0.0, and he want to install new version of this file into only to 8 ...
-1
votes
1
answer
347
views
What is the best approach for migrate to code-first in an existing database-first multiple .NET Core projects solution?
There is a solution contains multiple .NET Core database-first projects with DDD architecture. There are 4 different databases scaffolded by EF Core for all projects. As we hadn't versioning and ...
0
votes
1
answer
50
views
How do you move documents within the Visual Studio SDK and ensure any source control providers are notified
I am trying to write a VSIX plugin that automates the process of moving files within a visual studio 2017 C++ project. So far I have tried the following, which unfortunately has not worked. The file ...