Questions tagged [code-sharing]

100 questions
4
votes
3 answers

Silverlight 4 Assembly Sharing Problem

I have a WPF .NET 4.0 class library referencing a Silverlight 4 class library. The SL library compiles fine but when I compile the WPF class library, I get: Error 2 Unknown build error, 'Cannot resolve dependency to assembly 'System.Windows,…
Jeff
  • 35,755
  • 15
  • 108
  • 220
4
votes
1 answer

Cocoa framework development: sharing between projects

I am currently developing a handful of similar Cocoa desktop apps. In an effort to share code between them, I have identified a set of core classes and functions that can be common across all of these applications. I would like to bundle this common…
e.James
  • 116,942
  • 41
  • 177
  • 214
4
votes
3 answers

Sharing your Source Code(PHP) on LAN

We are two person, working on a same project. Our Source code is in PHP. We use XAMPP to test our code on localhost. We are connected through LAN, We can see and change settings of Database by access to http://192.168.192.XXX/phpmyadmin/ . If…
CyberBoy
  • 745
  • 1
  • 7
  • 31
4
votes
3 answers

How to share classes between .NET projects without using a library?

I have two projects - one is a test one, other is the final version. I know there is a possibility to put shared code into a library, but I want that compiled result will be a single file, without any additional DLLs.
Paul
  • 25,812
  • 38
  • 124
  • 247
4
votes
1 answer

share xcode projects

I searched this but I haven't found the exact answer I'm looking for. I'm trying to email a friend/co-worker a saved xcode project I'm working on. If I send attach my saved file in an email when he opens it up everything is kinda red and theres no…
user2087867
  • 95
  • 1
  • 9
4
votes
0 answers

Sharing code repositories between Mac Host and Vm Fusion Visual Studio

I keep a shared folder with all the my git repositories on mac. I access it also with a Windows 7 Virtual Machine (Vmware Fusion) for doing Visual Studio Mvc projects. Compared to having a duplicate of the repository folder directly inside the…
Ronnie
  • 4,959
  • 10
  • 51
  • 69
3
votes
5 answers

Sharing code in C# between projects without making classes public

I have a C# library with lots of internal functionality exposing only a few public classes and interfaces. I would like to share this code between several projects, and each project may need to extend the internal classes with subclasses. I don't…
Miguel Posada
  • 33
  • 1
  • 4
3
votes
1 answer

Sharing a mercurial repository over two servers

I'm working on a project that is hosted on Bitbucket. I would also like to have the same project on the office server connected to a local intranet so that when I commit on my system, I can push to both repositories (Bitbucket and my local…
aim
  • 65
  • 6
3
votes
0 answers

How to share code between multiple projects with react native?

there are some tips like using private npm or using git subdirectory or bower, but not efficient. another option is bit , but it's not being a straightforward config is the big problem. is there another tool for code sharing between projects?
3
votes
2 answers

Position independent code and Shared Object

Anyone please explain what Position independent code and Shared Object meant actually. Whether the object code created after compiling is Position independent. It would be helpful if somebody explain about how the access to local/external variables…
3
votes
2 answers

Platform specific code for shared watchOS/iOS classes in Swift?

I am currently building an iOS app with a watchOS app extension. I have certain classes that are shared between both apps, and they are largely identical on both platforms, but with certain variations. I am wondering how this is best implemented.…
BlackWolf
  • 5,239
  • 5
  • 33
  • 60
3
votes
3 answers

How to make shared logic usable for cross-platform native apps?

So I am currently using Xamarin for multi-platform mobile applications. I really like the way this works, and I want to improve my flow. My developers have said that they would be much faster when programming natively (i.e. Swift for iOS in…
vrwim
  • 13,020
  • 13
  • 63
  • 118
3
votes
4 answers

What do you do with GitHub repositories you no longer maintain?

What do you do with GitHub repositories you no longer maintain? For whatever reason a project is started with a GitHub repository and then sometime later it's abandoned Perhaps it was an experiment that didn't work out. Perhaps you replaced it…
T. Stone
  • 19,209
  • 15
  • 69
  • 97
3
votes
2 answers

Sharing code between solutions in TFS

I have a few different applications that i need to share code between to reduce maintenance. I have tried to read a lot on stackoverflow and the web in general and it is a fairly common problem; i have not found an answer i like. Our TFS branching…
user1450824
  • 245
  • 1
  • 4
  • 8
2
votes
1 answer

How to share TinyMCE Javascript source across multiple ASP.Net sites

I'm using the Moxie code TinyMCE text editor (http://www.tinymce.com/) for content entry on a number of sites. At the moment I have the tiny_mce folder sitting in the folder of each site. This means that I have lots of copies of the same .js…
Pete McPhearson
  • 469
  • 1
  • 7
  • 17