visual-studio-2015

Visual Studio generate code from UML diagrams?

*爱你&永不变心* 提交于 2020-01-04 02:06:57
问题 I'm doing research on producing code from UML diagram using Visual Studio 2015. From what I have done, I have created Use case, Activity, Sequence and Class diagram before generating the code. When I generate the code, I see that Visual Studio only takes my class diagram to be referred to when it generates the code. So my question, is it true that Visual Studio will only refer to the class diagram when generating the code? If not, which means that the way I'm doing the other diagram is wrong

PreBuildEvent and PostBuildEvent on Visual Studio 2015 Tools for Apache Cordova

♀尐吖头ヾ 提交于 2020-01-03 21:02:20
问题 Does somebody know if there is a way to use PreBuildEvent and PostBuildEvent on the new Visual Studio 2015 Tools for Apache Cordova? I tried this post, but it didn't work: Setting post-build event commands? 回答1: I faced similar issue and i needed to delete a folder on build in my Cordova app build with VS 2015 . I found a solution in this link https://stackoverflow.com/a/10605248/581157 Hope this helps. To delete a folder on Biuld of the cordova app i added this to the jsproj file <Target

PreBuildEvent and PostBuildEvent on Visual Studio 2015 Tools for Apache Cordova

和自甴很熟 提交于 2020-01-03 21:02:11
问题 Does somebody know if there is a way to use PreBuildEvent and PostBuildEvent on the new Visual Studio 2015 Tools for Apache Cordova? I tried this post, but it didn't work: Setting post-build event commands? 回答1: I faced similar issue and i needed to delete a folder on build in my Cordova app build with VS 2015 . I found a solution in this link https://stackoverflow.com/a/10605248/581157 Hope this helps. To delete a folder on Biuld of the cordova app i added this to the jsproj file <Target

data at the root level is invalid. line 1 for SSIS

◇◆丶佛笑我妖孽 提交于 2020-01-03 19:22:14
问题 I need to use VS2015 with SQL Server 2012 in my SSIS project. When I changed Deployment Target Server Version from SQL Server 2016 to SQL Server 2012 I get following error. OData V4. Stack Trace: Data at the root level is invalid. Line 1, position 1. (System.Xml) Program Location: at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() at System.Xml.XmlTextReaderImpl

How can I disable automatic string detection in VS2015?

此生再无相见时 提交于 2020-01-03 19:08:13
问题 I'm using VB.NET, and my code contains a lot of strings that very often have double quotes inside of them. My problem is that as I'm fixing the string to escape double quotes (replacing every '"' with '""' inside of the string) it messes with the proceeding code, temporarily assuming everything is a string (since the double quotes don't match up) and completely messing up the formatting of other strings. It assumes that the start of a following string is the end of the current string which

What is the root of an absolute path when importing a module in typescript?

核能气质少年 提交于 2020-01-03 17:52:30
问题 I'm developing an app in typescript (in Visual Studio 2015) and have this basic file structure: Solution AppProject Scripts framework Utils.ts app SomeApp.ts tsconfig.json Now within the app modules, I would like to reference the framework modules with an absolute path, so I would do something like this: import { Utils } from '/Scripts/framework/Utils' However this doesn't work . I'm getting the red squiggly line and a " Cannot find module '/Scripts/framework/Utils' " I works fine when doing

C++ executeQuery() error displaying MySQL data from table

北城以北 提交于 2020-01-03 16:53:08
问题 I need some help. I had this code (below), to add data to a MySQL table and then return that same table. The code is doing fine, when I run it it adds the column to the MySQL table BUT it stops, with the error: SQL error. Error message: Literally blank. If I use a SELECT statement rather than an INCLUDE one in executeQuery() , it runs with no problem and no error message, just displays my table (or parts of it). What am I missing? I am using Visual Studios 2015, and MySQL Server. The end-goal

Is there a more direct method to convert float to int with rounding than adding 0.5f and converting with truncation?

▼魔方 西西 提交于 2020-01-03 15:33:13
问题 Conversion from float to int with rounding happens fairly often in C++ code that works with floating point data. One use, for example, is in generating conversion tables. Consider this snippet of code: // Convert a positive float value and round to the nearest integer int RoundedIntValue = (int) (FloatValue + 0.5f); The C/C++ language defines the (int) cast as truncating, so the 0.5f must be added to ensure rounding up to the nearest positive integer (when the input is positive). For the

Process with an id of “xxxx” is not running in Visual Studio(included 2013 to 2017~ version)

北战南征 提交于 2020-01-03 15:19:49
问题 I am not able to run any application from Visual Studio 2013, It throws Process with an id of "xxxx" is not running message. I have used telerik also. I tried all solutions from internet (except reinstall visual studio), nothing helped me, Please help, Thank you. Ps: WebForm base. 回答1: Open Visual Studio as an administrator Right-click your project and click on Unload Project Again, right-click your project and click on Edit PROJECT_NAME.csproj Find the code below and delete it

When adding an existing item with “Add as Link”, this file is not compiled in VS2015?

时光怂恿深爱的人放手 提交于 2020-01-03 14:25:13
问题 When adding an existing item with "Add as Link", this file is not compiled in VS2015 ? 回答1: Indeed, this is not yet supported. I contacted the engineering owners of this feature and they are investigating what it would take to support this. You can manually add a "linked" file in the project.json file: { ... other stuff ... "compile": [ "../path/to/somewhere.cs", "../../another/path/to/file.cs", "../../use/globbing/**/*.cs" ], ... other stuff ... } The schema for the file is available here: