solution

Can I build Xamarin iOS from the csproj only an not use the solution command line

杀马特。学长 韩版系。学妹 提交于 2020-01-13 19:31:40
问题 I have a few apps i want to build inside my solution and I want to build them separately running : /Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool -v build "--configuration:Release|iPhone" ./42.csproj fails. I do see that all of Xamarin examples use a solution file (.sln) with the mdtool, but I am still wondering of there is a way to reference just on project inside my solution. 回答1: Well After talking with xamarin they claim that using mdtool is not recommended. I was told to use

How can I programmatically build my solution files from C# code?

不打扰是莪最后的温柔 提交于 2020-01-13 03:50:14
问题 I have a large solution containing many projects with one of them being a Setup project. There are also many current versions stored in separate branches. I have a build tool that used to work in .NET 2, but hasn't worked since we upgraded to .NET 4. Internally, the new .NET 4 version of the build tool uses Microsoft.TeamFoundation.Client.RegisteredTfsConnections.GetProjectCollections() and versionControlServer.GetAllTeamProjects(false) to get a collection of TeamProject s from my TFS source

Unity Project doesn't have solution file

廉价感情. 提交于 2020-01-04 17:02:05
问题 I just started learning unity and I created a project. But my project doesn't have a sln file included in. Every time I create a C# script and open it in Xamarin Studio I can't have any intellisense. Is it normal not to have sln file in unity project? If not, how can I add solution file to project? Why that happened? 回答1: I finally found the answer. I closed Xamarin and inside Unity went Assets > Sync MonoDevelop Project Doing this created the two .sln projects: -csharp.sln and .sln 来源: https

Unity Project doesn't have solution file

冷暖自知 提交于 2020-01-04 16:58:53
问题 I just started learning unity and I created a project. But my project doesn't have a sln file included in. Every time I create a C# script and open it in Xamarin Studio I can't have any intellisense. Is it normal not to have sln file in unity project? If not, how can I add solution file to project? Why that happened? 回答1: I finally found the answer. I closed Xamarin and inside Unity went Assets > Sync MonoDevelop Project Doing this created the two .sln projects: -csharp.sln and .sln 来源: https

How does one convert a Visual Studio .NET 2008 solution to Visual Studio .NET 2005?

ぐ巨炮叔叔 提交于 2020-01-02 07:18:13
问题 Assume that a solution only contains classes and that those classes are all written to .NET 2.0 specifications. If that solution were to be opened, converted and saved in Visual Studio 2008, would it be possible to reopen the solution later in Visual Studio 2005 with some minimal modifications to the .SLN file? How would one go about doing that? Is there a tool that will "down convert" .SLN files from 2008 to 2005 if all of the classes contained within the solution are already written to .NET

How to programmatically build a visual studio solution?

你说的曾经没有我的故事 提交于 2020-01-01 05:13:26
问题 I would like to compile a solution by passing the solution file path (.sln file) and the build mode (debug, release). I do not want to call a command line process like devenv.exe or msbuild.exe, instead I would like to use an API and know if there were compile errors. Is it possible ? Please provide samples if you think you know how to do that. 回答1: You're going to have to launch a process at some point to do the compilation you might as well spawn a process to kick off the compilation. It is

How to programmatically build a visual studio solution?

。_饼干妹妹 提交于 2020-01-01 05:13:07
问题 I would like to compile a solution by passing the solution file path (.sln file) and the build mode (debug, release). I do not want to call a command line process like devenv.exe or msbuild.exe, instead I would like to use an API and know if there were compile errors. Is it possible ? Please provide samples if you think you know how to do that. 回答1: You're going to have to launch a process at some point to do the compilation you might as well spawn a process to kick off the compilation. It is

Bidircetional scroll for Android

断了今生、忘了曾经 提交于 2019-12-31 00:30:25
问题 This is more of a mass answer than a question, I just don't know how to post it as such, moderators if you could inform me if there even is such a thing. This question was asked to death, and then I needed to do something similar so I work out this. The answer to this post is how to create a 3x3 Bidirectional Scroll View in android 回答1: The following is how to create a Bidirectional Scrolling View Place a gallery into a GridView with one column and column size set to fill the parent view (or

.vbproj the project is not supported by this installation

倾然丶 夕夏残阳落幕 提交于 2019-12-30 14:44:59
问题 I have visual studio 2008 installed in my pc when I try to open a .Net 2005 Solution with multi-projects, there are project in vb and c#. The only web project on this solution display The following message: .vbproj the project is not supported by this installation I try to open the web project separately from the solution and I not have problem. How I can open the web project from the solution. Any ideas? 回答1: First, create a backup of the project and solutions. Then, you could try putting

Macros/Environment variable in .sln and .vcproj files for Visual studio

时光毁灭记忆、已成空白 提交于 2019-12-30 02:34:07
问题 I have two similar problems: a) I have a solution which includes several projects and I want to be able easily switch project location by setting some environment variable/macro. As example this project can be located in \SolutionDir\Dir1\ or \SolutionDir\Dir2\ So, I want to specify that it should be located in \SolutionDir\$(Var) and just set the variable. Is there any build in Visual Studio way to do it? I know currently only two solutions - edit .sln file manual/programmatically to find