Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am following instruction on "Developer Tutorial for creating a Hyperledger Composer solution". After creating business network structure step 2 asks to open .cto file and edit it. How do I open the .cto file? Do I use terminal or viscose to open it and how?
https://hyperledger.github.io/composer/tutorials/developer-tutorial.html
you can open the .cto file by using any editor that you want. The one I use is atom (https://atom.io/).
Once you have downloaded and installed atom, open it then navigate to where your file is in your terminal and enter the following command atom enter_CTO_filename_here.cto
You can also open the file from the atom UI by navigating to where the file is by going File -> Open -> then select your file...
you can also try using VSCode editor - Hyperledger Composer has a plugin for syntax highlighting for model files, as described here -> https://hyperledger.github.io/composer/installing/development-tools.html - see 'Step 3: Set up your IDE'
You can open the .cto file in notepad, wordpad or notepad++.
But Atom IDE is a better option to do that. You can even view and edit your script.js file in the atom and deploy them back to the composer afterwards.
You can also add hyperledger-composer-plugin in Atom as it provides syntax highlighting and snippets for Composer in Atom.
Steps to install atom plugin from the Atom market place:
Open Atom application
Open the Install Packages/Themes by click Packages --> Settings View and select Install Packages/Themes
Select Install on the Settings menu
Type composer-atom-plugin or composer-* in the Packages search field and you should see the composer-atom-plugin on the list
Select the composer-atom-plugin from the install packages and click on Install button to install it.
You should now have syntax highlighting for Composer .cto files.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have 2 versions of flutter 1 is latest another is previous, I want to create a 'flutterl' alias for cmd in windows for latest one and 'flutter' for previous one. how to create it ?
It is very simple to do just follow these steps:
In my case i will be using 2 different commands like flutter for current flutter version and flutterl for latest flutter version.
To create a new alias in windows you should create a new folder. here i have created Aliases, you can create this folder in C directory or wherever you want.
In this folder create a new file flutterl.bat
And right click and edit this file add the following code
#echo off
C:\src\flutter_latest\bin\flutter %*
Here C:\src\flutter_latest is the location, which contain's flutter latest version.
Then goto Environment variables and in the path add this files location.
To do this you can follow these steps
Right click on this pc, and click on properties
Click on Advanced Settings
Then click on Environment Variables
Edit Path
Click on new and paste the Location of Aliases folder, that you've created
Same Steps with visuals
Right click on this pc, and click on properties
Click on Advanced Settings
Then click on Environment Variables
Edit Path
Click on new and paste the Location of Aliases folder, that you've created
Now you are good to go.
Both flutter and flutterl will be working fine to test then run
flutter doctor
flutterl doctor
If you want to manage the flutter versions for your project only then you can use fvm package, it is a simple cli to manage Flutter SDK versions.
Flutter Version Management
You will have to use Flutter Version Manager - FVM https://github.com/leoafarias/fvm
Flutter Version Management: A simple CLI & GUI to manage Flutter SDK versions.
FVM helps with the need for a consistent app builds by allowing to reference Flutter SDK version used on a per-project basis. It also allows you to have multiple Flutter versions installed to quickly validate and test upcoming Flutter releases with your apps, without waiting for Flutter installation every time.
Create a hard link to one
MKLINK /H "C:\Path\for\link\flutterl.exe" "c:\path\to\latest\version\flutter.exe"
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I am currently trying to learn how to develop Firefox add-ons, but for my misfortune, I faced a problem before I even start doing so. I downloaded the demo add-on provided by the Firefox developer team which is called "Borderify" and can be seen here: GitHub. After that, I opened WinRar, and converted the folder to a .XPI file. However, when I try to install it manually on my Firefox browser I got this message "This add-on cannot be installed because it appears to be corrupted". I will be grateful if someone points what I've done wrong.
Note that just packing the files and renaming the .ZIP file to an .XPI to install it doesn't work. If you want to test and debug the extension, you need to install the extension temporarily. To do so, go to about:debugging and click Load Temporary Add-on, then choose the XPI file to install the add-on. You can also load the add-on from the sources without packing it to an XPI by simply choosing its manifest.json file.
To get the XPI file to install as expected, it needs to be signed. This will be done automatically when you publish it on addons.mozilla.org (AMO).
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I am working with VS2013 and TFS Online.
When I add a new item some time the Source Control doesn't recognize it as added item but the csproj is updated with the new file's path. When a partner get the latest version and try to copile, it says that a file is missed.
When I am checking in I see that some added files can't be included for check in. Sometimes added files doesn't have the plus icon so I can add it with "Add to source control" but sometimes the plus icon is there and I still can't check in the file.
It's happening with png in resources and cs of a Winform
Sounds like you don't have the Solution/Project bound to TFS correctly - this is a step you must take to make VS work with TFVC (local and server).
You can usually tell when it is not setup by the icons on the project file in Solution Explorer:
Not Setup:
Setup:
Notice the padlocks
To setup the bindings go to File > Source Control > Advanced > Change Source Control...
Select the project and/or solution and click Bind:
Once the solution is bound, new projects added to it will also be bound.
Also, if you have set this up in the past and it's not working, checkout this answer - it shows you how to redo the bindings when the are messed up.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I downloaded tutorial (0.3.8) from http://www.arcsynthesis.org/gltut/, then according to instruction I used premake4.exe to builld visual studio 2010 projects (premake4 vs2010) and it works fine, but when I try to run some example, I get the error message
The specified file is an unrecognized or unsupported binary format
can you tell me why?
I think you wrongly set the .lib project as your startUp project. Try to set your .exe project as your startUp project.
In Visual studio you can set a project into startUp project just by right click the .exe and select the option "set as startUp project"
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
Can ReSharper 7.x be configured to work with Visual Studio 2013 preview?
The preview version doesn't appear to allow it by default - though I only tested by repairing ReSharper, rather than uninstalling/reinstalling.
I'm aware that ReSharper 8 is on its way and may be a better long term option.
Being able to evaluate a new IDE under the same conditions that I use VS2012 is imperative, so this would help massively in that goal.
UPDATE
It looks like the answer to this is that it cannot be used - the accepted answer demonstrates a possible, untested method of wiring it up but there are now 3 or 4 cases where the solution has not worked, including an attempt by myself to hook it up which unfortunately didn't work. As such, I've added this update to avoid misleading anybody who comes across this.
Warning: This has only been tried by me just now on VS2013 with the latest v8 EAP, this may cause crashes or slowdowns etc and I can't say how v7 would behave.
If you go into your program files folder, then open the VS2012 folder, navigate to Microsoft Visual Studio 11.0\Common7\IDE\Extensions .
From that folder grab the Jetbrains folder, and copy and paste it to the same location but substitute 11.0 for 12.0.
Then open the file inside the Jetbrains folder named extension.vsixmanifest in any text editor of choice (remember about running as admin) then inside find where at the top on approx lines 11 - 16 , you will have a section named VisualStudio.
Copy and paste this whole block and paste it again below (inside the SupportedProducts section still).
Edit the Version="11.0" to Version="12.0" and then save the file, re-launch VS2013 & you should now end up with resharper working.
Nice and simple :) Also for future reference this technique works on any extension, also some extensions are stored in AppData instead. Just thought I'd reply with this to make sure you got a helpful reply :D