visual-studio-2017

NuGet package from PCL

廉价感情. 提交于 2021-02-20 03:42:26
问题 I have a PCL library I want to distribute as NuGet package. Screenshot of the PCL application library properties page: csproj file: <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkProfile>Profile111</TargetFrameworkProfile> <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> Steps to reproduce my problem: Clone both repos from: NuGet package Console application + PCL library Build the NugetPackage project +

NuGet package from PCL

流过昼夜 提交于 2021-02-20 03:40:38
问题 I have a PCL library I want to distribute as NuGet package. Screenshot of the PCL application library properties page: csproj file: <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkProfile>Profile111</TargetFrameworkProfile> <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> Steps to reproduce my problem: Clone both repos from: NuGet package Console application + PCL library Build the NugetPackage project +

NuGet package from PCL

拜拜、爱过 提交于 2021-02-20 03:40:26
问题 I have a PCL library I want to distribute as NuGet package. Screenshot of the PCL application library properties page: csproj file: <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkProfile>Profile111</TargetFrameworkProfile> <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> Steps to reproduce my problem: Clone both repos from: NuGet package Console application + PCL library Build the NugetPackage project +

NuGet package from PCL

别来无恙 提交于 2021-02-20 03:39:12
问题 I have a PCL library I want to distribute as NuGet package. Screenshot of the PCL application library properties page: csproj file: <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkProfile>Profile111</TargetFrameworkProfile> <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> Steps to reproduce my problem: Clone both repos from: NuGet package Console application + PCL library Build the NugetPackage project +

Disabling Visual Studio hosting process on Visual Studio Community 2017

守給你的承諾、 提交于 2021-02-18 22:24:51
问题 I am trying to disable output of a vshost.exe file to my release folder. There is a similar question here and here. This Microsoft doc instruction for 2015, and followed the 2017 rc link and found this They all mention the Enable the Visual Studio hosting process checkbox on the properties Debug tab. But this option does not appear in my screen. I have tried this on the properties pages for Console Application and windows Application project output types. Is this feature supported in VS

Can't Add ADO.NET Entity Data Model to .NET Core 2.1 Project

孤街醉人 提交于 2021-02-18 20:13:43
问题 The Issue... As the title states, I've installed the .NET Core 2.1 SDK and created a new .NET Core 2.1 project. When I go to Project > Add Item... > Data , I do not have the ADO.NET Entity Data Model option. I am using Visual Studio 2017 15.7.3 , which I've installed only hours ago. The Error and Warning logs are clean. Any assistance is appreciated. What I've done so far... Researched. You'll notice I've pulled most of my attempts to solve this issue from primarily these three resources:

Can't Add ADO.NET Entity Data Model to .NET Core 2.1 Project

梦想的初衷 提交于 2021-02-18 20:11:57
问题 The Issue... As the title states, I've installed the .NET Core 2.1 SDK and created a new .NET Core 2.1 project. When I go to Project > Add Item... > Data , I do not have the ADO.NET Entity Data Model option. I am using Visual Studio 2017 15.7.3 , which I've installed only hours ago. The Error and Warning logs are clean. Any assistance is appreciated. What I've done so far... Researched. You'll notice I've pulled most of my attempts to solve this issue from primarily these three resources:

Can't Add ADO.NET Entity Data Model to .NET Core 2.1 Project

会有一股神秘感。 提交于 2021-02-18 20:05:52
问题 The Issue... As the title states, I've installed the .NET Core 2.1 SDK and created a new .NET Core 2.1 project. When I go to Project > Add Item... > Data , I do not have the ADO.NET Entity Data Model option. I am using Visual Studio 2017 15.7.3 , which I've installed only hours ago. The Error and Warning logs are clean. Any assistance is appreciated. What I've done so far... Researched. You'll notice I've pulled most of my attempts to solve this issue from primarily these three resources:

How to get IWpfTextView from command Visual Studio Extension 2017

半腔热情 提交于 2021-02-18 18:14:24
问题 I need to show popup use TextViewAdornment, it's require IWpfTextView. There is old code to that: private IWpfTextView GetWpfTextView(IVsTextView vTextView) { IWpfTextView view = null; IVsUserData userData = vTextView as IVsUserData; if (null != userData) { IWpfTextViewHost viewHost; object holder; Guid guidViewHost = DefGuidList.guidIWpfTextViewHost; userData.GetData(ref guidViewHost, out holder); viewHost = (IWpfTextViewHost)holder; view = viewHost.TextView; } return view; } but when go to

C++ crash when use setmode with _O_U8TEXT to deal with unicode

你离开我真会死。 提交于 2021-02-18 15:38:14
问题 What I've tried to print unicode is _setmode(_fileno(stdout), _O_U8TEXT); string str = u8"unicode 한글 hangul"; cout << str << endl; I used setmode to show and get unicode correctly, but It crashed with Debug Assertion Fail. However, _setmode(_fileno(stdout), _O_U16TEXT); wstring str = L"unicode 한글 hangul"; wcout << str << endl; _O_U16TEXT compile and print correctly. What should I do to use UTF-8? Do I have to find another trick? 回答1: _setmode mentions _O_U8TEXT and _O_U16TEXT (finally), but