.net-framework-version

Install GitExtensions on a machine with .NET 4.0 only

瘦欲@ 提交于 2019-12-10 11:49:38
问题 .NET 4.0 / Visual Studio 2010 is installed on my machine. When I execute the current installer (GitExtensions224SetupComplete.msi) it tells me that I need to install .NET 3.5. Can one use GitExtensions with .NET 4.0 or do you have to install .NET 3.5? If yes, how do I force the installer to use .NET 4.0? Is there a general approach to this, which also works with other programs and installers? Thanks 回答1: As far as I can see from GitExtensions224SetupComplete.msi, it has an explicit launch

Create a standalone exe without the need to install .NET framework

爱⌒轻易说出口 提交于 2019-12-09 00:28:46
问题 I'm a student and at the moment i'm doing an internship at a company. This internship is about analysing a project. For this project I have made a demo to show to the Marketing director. The demo I have made is a simple project created in Visual Studio 2010 in c# with Windows Forms and a connection to an Access database. So now i have to show this demo to this director in a presentation but after this presentation the director wants the project on his computer so he can try and use it. The

What is the .net framework Reference Assemblies Facades folder used for?

夙愿已清 提交于 2019-12-08 19:13:53
问题 I noticed there is a Facades folder within each of the .NETFramework Reference Assemblies folder. Starting from v4.5. All the assemblies in these folders are very small, and only contain metadata. Examples: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\Facades C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7\Facades C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.1\Facades I am curious

This application requires one of the following versions of .NET Framework

可紊 提交于 2019-12-08 17:19:14
问题 I am trying to migrate our application to the newer version of .NET Framework. From current version of 4.5 to 4.6.1 Reason, why we are migrating to version 4.6.1 instead of 4.7 or 4.6.2 is, that most of our users and developers do have Windows 10 November update and based on information from .NET Framework System Requirements, .NET Framework 4.6.1 should be preinstalled in this version of Windows by default. This would leave us without any needs for users to download any kind of update. The

TeamCity NuGet package build for different .NET Frameworks

孤者浪人 提交于 2019-12-07 07:30:46
问题 I've been doing updates to .NET Framework targeted versions of projects updating to latest .NET (4.6.2). Some of these projects are NuGet packages, built in TeamCity 9.0.2. I've use the steps in this guide to create multiple build configurations for different .NET Framework version as some of the projects I haven't updated to 4.6.2 reference the NuGet packages. So I am trying to get TeamCity to use these build configurations to output the various Net40, Net45, Net46 and Net462 versions so

Can application built with .NET 4.5 run on .NET 4.0?

时间秒杀一切 提交于 2019-12-07 03:58:16
问题 My project is targeting to .NET 4.5. It doesn't use any new 4.5 methods, so it actually works fine on the machine with only .NET 4.0 installed. This is all good until I added some extension methods and reflection. Then when I ran this .NET 4.5 program on the 4.0 machine, it failed with "System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly mscorlib". The famous ExtensionAttribute program that has been documented well here. Another

How can I change a .NET standard library to a .NET framework library?

偶尔善良 提交于 2019-12-06 16:52:26
问题 I'm writing a class library for a simple parser in C#. When I first created it, I used .NET standard 2.0, but now I need to migrate it to .NET 4.6 both to conform to the other projects in my solution and in order to use NUnit. I tried to follow the instructions in the Microsoft documentation, but when I try to select another framework in the properties, I can only find other .NET standard versions. How can I migrate it? Will I need to manually edit the .csproj file? 回答1: Open up the project

How to manipulate a control without any pattern implemented?

天涯浪子 提交于 2019-12-06 08:28:44
I'm trying to implement the automation test via UIAutomation for our project. But lots of the controls are not standrad, and proper patterns are also not implemented for that controls. How should I to manipulate the controls via UIAutomation framework in this case? For example, a button in our product is implemented via a Pane, and the invoked pattern is not implemented as well. How should I click the button? (To avoid installing VS on the test machine, I don't want to use Mouse.Click() in Microsoft.VisiualStudio.TestTools.UITesting namespace) Is there a way to do that only using UIAutomation

Windows RT .NET compatibility

徘徊边缘 提交于 2019-12-06 06:21:54
I just need to know if I need the same framework to develop an app for Windows 8 for Tablets (Windows RT) and PCs or the tablet one still uses .NET compact framework. The only type of applications that run on Windows RT (ie. the Tablet/ARM version of Windows 8) are Windows Store Apps. These are full-screen applications that run on top of the WinRT API. You can use a subset of .NET 4.5 on these devices, and use XAML to build your interface just like you would with WPF on the desktop. You can read more on MSDN - .NET for Windows Store apps overview . This article describes a lot of the changes

When using .Net Standard 1.4 in a library and .Net framework 4.6.1 in and application, unable to load file System.IO.FileSystem, Version=4.0.1.0

老子叫甜甜 提交于 2019-12-06 02:30:16
问题 I have a solution that contains a library and 2 applications. The applications represent the same program, with one built to target the Windows App Store through UAP10 and the other built to target a Microsoft Windows PC using .Net Framework 4.6.1. I'm using Visual Studio 2017. I set the library project target .Net standard 1.4. I set the UWP application to target Windows 10 Aniversary Edition (10.0; Build 14393), Min version Windows 10 (10.0; Build 10586). I set the generic Windows