visual-studio-2017

In a MS SSAS Project, creating a Data Source View over Npgsql (PostgreSQL) Data Source produces 42601: syntax error at or near '['

ぐ巨炮叔叔 提交于 2021-01-28 09:39:03
问题 I'm trying to create Data Source View in a Multidimensional SSAS project using MS Visual Studio 2017 with SSDT installed. In the Data Source View Wizard, I select my Npgsql (v. 11.00) based datasource connecting my PostgreSQL 10.5 I created before. No matter which options I select or which tables I choose to work with in the dialogues that follows, after I click the final Finish button I always retrieve a message box stating that "42601: syntax error at or near '['" and preventing me from

In a MS SSAS Project, creating a Data Source View over Npgsql (PostgreSQL) Data Source produces 42601: syntax error at or near '['

拜拜、爱过 提交于 2021-01-28 09:31:04
问题 I'm trying to create Data Source View in a Multidimensional SSAS project using MS Visual Studio 2017 with SSDT installed. In the Data Source View Wizard, I select my Npgsql (v. 11.00) based datasource connecting my PostgreSQL 10.5 I created before. No matter which options I select or which tables I choose to work with in the dialogues that follows, after I click the final Finish button I always retrieve a message box stating that "42601: syntax error at or near '['" and preventing me from

Xamarin.Forms Android VS2017 debug not showing XAML changes

落花浮王杯 提交于 2021-01-28 06:08:54
问题 In Visual Studio 2017, I start a brand new Xamarin.Forms solution, PCL and Blank App template. Here is what the MainPage.xaml content looks like: <Label Text="Welcome to Xamarin Forms!" VerticalOptions="Center" HorizontalOptions="Center" /> Using the Visual Studio Android emulator, I start a debug session, to confirm its working, and then close it. Then I make a small change the MainPage.xaml file, for example: <StackLayout HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand"

Latest version of nuget package still not up to date

孤人 提交于 2021-01-28 05:02:44
问题 We are using our own nuget server on the local network. I've got a dotnet standard 2.0 library which I'm packaging via nuget. Currently it's at 1.0.5.4 (both File version and Assembly version). However when I install it in another solution it's missing a property that I added in the latest version increment. When I F12 on a class of that nuget it reads at the top: #region Assembly lib-mycode-async, Version=1.0.5.1, Culture=neutral, PublicKeyToken=null // C:\Users\{Username}\.nuget\packages

How to change the a default code snippet in Visual Studio 2017?

最后都变了- 提交于 2021-01-27 15:57:04
问题 Given this code snippet, how can I change the default code provided in this snippet, in Visual Studio 2017? 回答1: Visual Studio 2010 -> Tools -> Code Snippet Manager Change if needed the programming language and look ah the path of the snippet files. Close and create in VS17 a new xml file for a new snippet file. Save this as a Codesnippetfile with "Save File as" . Go to the Folder of the existing snippetfiles and copy the needed part. <CodeSnippets xmlns="http://schemas.microsoft.com

How to change the a default code snippet in Visual Studio 2017?

末鹿安然 提交于 2021-01-27 15:28:20
问题 Given this code snippet, how can I change the default code provided in this snippet, in Visual Studio 2017? 回答1: Visual Studio 2010 -> Tools -> Code Snippet Manager Change if needed the programming language and look ah the path of the snippet files. Close and create in VS17 a new xml file for a new snippet file. Save this as a Codesnippetfile with "Save File as" . Go to the Folder of the existing snippetfiles and copy the needed part. <CodeSnippets xmlns="http://schemas.microsoft.com

Code Analysis is not working with ruleset from nuget package (from .props)

五迷三道 提交于 2021-01-27 13:57:15
问题 I'm trying to use custom ruleset file form our nuget package. I've added to the build folder of the package .props file: <Project> <PropertyGroup> <CodeAnalysisRuleSet> $(MSBuildThisFileDirectory)..\My.Shared.ruleset </CodeAnalysisRuleSet> <RunCodeAnalysis>true</RunCodeAnalysis> </PropertyGroup> </Project> Rule set file is in the package root folder, the paths are correct, it's adding import of the .props file into csproj file. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com

Azure Web Deploy “Publish Failed”

别等时光非礼了梦想. 提交于 2021-01-27 09:35:48
问题 Hello my fellow developers! I am currently struggling with a problem in the latest Visual Studio 2017 Professional - Version 15.8(.1). Since The Update to Version 15.8, I am unable to publish any Azure Function via Web Deploy. Every time i press the "Publish" button, I simply get an error window saying: "Publish failed". The Output window stays empty, where normally I would get all the build and publishing output. What I've tired: Cleaned the solution; deleted %temp%; deleted the publishing

Azure Web Deploy “Publish Failed”

二次信任 提交于 2021-01-27 09:35:33
问题 Hello my fellow developers! I am currently struggling with a problem in the latest Visual Studio 2017 Professional - Version 15.8(.1). Since The Update to Version 15.8, I am unable to publish any Azure Function via Web Deploy. Every time i press the "Publish" button, I simply get an error window saying: "Publish failed". The Output window stays empty, where normally I would get all the build and publishing output. What I've tired: Cleaned the solution; deleted %temp%; deleted the publishing

Django Unit Testing in Visual Studio 2017 or 2019:

别说谁变了你拦得住时间么 提交于 2021-01-27 07:10:46
问题 Django needs setup code so unit tests on models that need a database will work. Standard Django unit test do that silently in the background but not with Visual Studio. I have not found a good way to provide setup code that will work for starting test runs from both the Visual Studio Test Explorer and with django manage.py test . Visual Studio Test Explorer does not call setUpModule/tearDownModule nor tearDownClass. The following code works from within VS, but I find it ugly, AND it doesn't